<html>
<head>
<title>just relax</title>
<script type="text/javascript" src="<?php echo base_url('public/js/jquery-2.0.3.js');?>"></script>
</head>
<body>
<h1>This is tutorial about js MVC</h1>
<script type="text/javascript">
// jQuery("#process").click(function(){
// 		alert('hello');
// 		/*var url = "pu";
// 		jQuery.get(url,function(string){
// 			alert('xinchao');
// 		});*/
// 	});
jQuery(document).ready(function(e) {
    jQuery('#process').click(function(){
			var url = 'users/getdata';
			jQuery.get(url,function(string){
					alert(string);
				});
			
		});
});
	


 </script>
 <input type="button" id="process" value="click to see" />
</body>
</html>